package com.huidao.dao;

import java.sql.Connection;
import java.util.List;

import com.huidao.entity.Shoppingcart;

public interface ShopDao {
public boolean addShop(Shoppingcart shop);
	
	public boolean updateShop(Shoppingcart shop);
	
	public List<Shoppingcart> getList(int startnum,int pageSize,long userId);
	
	public int getTotalCount(long userId);
	
	public boolean delShop(long sId);
	
	public boolean delShop(Connection conn,long sId);
	
	public boolean clearShop(long userId);
	
	public List<Shoppingcart> getAllList(long userId);

}
